//
//  Computer.h
//  OC02_作业
//
//  Created by dllo on 15/12/1.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Computer : NSObject
//{
//@public
//    NSString *_type;
//    int _size;
//}

@property (nonatomic, retain)NSString *type;
@property (nonatomic, assign)int size;
- (void)information;

//- (void)setType:(NSString *)type;
//- (NSString *)type;
//
//- (void)setSize:(int)size;
//- (int)size;

- (instancetype)initWithType:(NSString *)type
                        size:(int)size;

+ (instancetype)computerWithType:(NSString *)type
                            size:(int)size;





@end
